package de.ret_world.openrpgstudio.engine.loading;

import com.artemis.World;
import org.java.plugin.Plugin;

/**
 * A Plugin which is executed during the loading phase of the game engine. It is executed right after the start script.
 *
 * @author Emu
 */
public abstract class LoadPlugin extends Plugin {

    protected World entityWorld;

    public void setEntityWorld(World entityWorld) {
        this.entityWorld = entityWorld;
    }
    
    @Override
    protected void doStart() throws Exception {
    }

    @Override
    protected void doStop() throws Exception {
    }

    public abstract void load();
}
